﻿using System.ComponentModel.DataAnnotations.Schema;
using System.Text.Json.Serialization;

namespace EasyDDD.Domain
{
    public interface IEntity
    {
        bool IsDeleted { get; }

        Guid TenantId { get; }

        Guid RowVersion { get; }
    }

    public interface IEntity<TKey> : IEntity
    {
        TKey Id { get; }
    }
}
